package com.tadpole.music.bean.home;

import java.util.List;

/**
 * Created By 孙岩
 * on 2020/9/18
 */
public class UserInfoBean {


    /**
     * code : 200
     * data : {"id":2,"created_at":"2020-09-15 12:10:10","updated_at":"2020-10-09 16:07:45","nickname":"是对方公司大师傅","phone":"15383405522","avatar":"//image..com/cec9cb55-455f-4117-aa44-90a3fc40c90f","gender":1,"birthday":"2020-09-29","area":"天津市,天津市,和平区","role":"2","status":1,"login_ip":"::1","login_at":"2020-10-09 16:07:45","organization":"asdsad","college":[{"college_id":2},{"college_id":3}]}
     * msg : success
     */

    private int code;
    private DataBean data;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class DataBean {
        /**
         * id : 2
         * created_at : 2020-09-15 12:10:10
         * updated_at : 2020-10-09 16:07:45
         * nickname : 是对方公司大师傅
         * phone : 15383405522
         * avatar : //image.aiyuebang.com/cec9cb55-455f-4117-aa44-90a3fc40c90f
         * gender : 1
         * birthday : 2020-09-29
         * area : 天津市,天津市,和平区
         * role : 2
         * status : 1
         * login_ip : ::1
         * login_at : 2020-10-09 16:07:45
         * organization : asdsad
         * college : [{"college_id":2},{"college_id":3}]
         */

        private int id;
        private boolean bind_wxapp;
        private String created_at;
        private String updated_at;
        private String nickname;
        private String phone;
        private String avatar;
        private int gender;
        private String birthday;
        private String area;
        private String role;
        private int status;
        private String login_ip;
        private String login_at;
        private String organization;
        private int is_agent;
        private int points;
        private List<CollegeBean> college;

        public DataBean(int id,boolean bind_wxapp, String created_at, String updated_at, String nickname, String phone, String avatar, int gender, String birthday, String area, String role, int status, String login_ip, String login_at, String organization,int is_agent,int points, List<CollegeBean> college) {
            this.id = id;
            this.bind_wxapp = bind_wxapp;
            this.created_at = created_at;
            this.updated_at = updated_at;
            this.nickname = nickname;
            this.phone = phone;
            this.avatar = avatar;
            this.gender = gender;
            this.birthday = birthday;
            this.area = area;
            this.role = role;
            this.status = status;
            this.login_ip = login_ip;
            this.login_at = login_at;
            this.organization = organization;
            this.is_agent = is_agent;
            this.points = points;
            this.college = college;
        }

        public int getPoints() {
            return points;
        }

        public void setPoints(int points) {
            this.points = points;
        }

        public boolean isBind_wxapp() {
            return bind_wxapp;
        }

        public void setBind_wxapp(boolean bind_wxapp) {
            this.bind_wxapp = bind_wxapp;
        }

        public int getIs_agent() {
            return is_agent;
        }

        public void setIs_agent(int is_agent) {
            this.is_agent = is_agent;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getCreated_at() {
            return created_at;
        }

        public void setCreated_at(String created_at) {
            this.created_at = created_at;
        }

        public String getUpdated_at() {
            return updated_at;
        }

        public void setUpdated_at(String updated_at) {
            this.updated_at = updated_at;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public int getGender() {
            return gender;
        }

        public void setGender(int gender) {
            this.gender = gender;
        }

        public String getBirthday() {
            return birthday;
        }

        public void setBirthday(String birthday) {
            this.birthday = birthday;
        }

        public String getArea() {
            return area;
        }

        public void setArea(String area) {
            this.area = area;
        }

        public String getRole() {
            return role;
        }

        public void setRole(String role) {
            this.role = role;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getLogin_ip() {
            return login_ip;
        }

        public void setLogin_ip(String login_ip) {
            this.login_ip = login_ip;
        }

        public String getLogin_at() {
            return login_at;
        }

        public void setLogin_at(String login_at) {
            this.login_at = login_at;
        }

        public String getOrganization() {
            return organization;
        }

        public void setOrganization(String organization) {
            this.organization = organization;
        }

        public List<CollegeBean> getCollege() {
            return college;
        }

        public void setCollege(List<CollegeBean> college) {
            this.college = college;
        }

        public static class CollegeBean {
            /**
             * college_id : 2
             */

            private int college_id;

            public CollegeBean(int college_id) {
                this.college_id = college_id;
            }

            public int getCollege_id() {
                return college_id;
            }

            public void setCollege_id(int college_id) {
                this.college_id = college_id;
            }
        }
    }
}
